/**
  * base url
*/
window._adoPromiseBaseUrl = window.location.protocol + '//' + window.location.hostname + (window.location.port ? ':' + window.location.port : '')
window._adoPublicBaseUrl = ''

// vt base url
if (window.location.href.indexOf('smartucpermise-dev.sd.huawei.com') > -1) {
  window._adoPromiseBaseUrl = window.location.protocol + '//smartucpermise-dev.sd.huawei.com'
  window._adoPublicBaseUrl = window.location.protocol + '//smartuc-dev.sd.huawei.com'
}

// uat base url
if (window.location.href.indexOf('wap.cq.10086.cn/gridwechat/uat-premise') > -1) {
  window._adoPromiseBaseUrl = 'https://wap.cq.10086.cn/gridwechat/uat-premise'
}

// producation base url
if (window.location.href.indexOf('wap.cq.10086.cn/gridwechat/pro-premise') > -1) {
  window._adoPromiseBaseUrl = 'https://wap.cq.10086.cn/gridwechat/pro-premise'
}
